package com.neusoft.work.service;

import java.util.List;

import com.neusoft.work.dto.OutRegistrationDto;
import com.neusoft.work.po.OutRegistration;
import com.neusoft.work.po.PageResponseBean;
import com.neusoft.work.po.ResponseBean;

public interface OutRegistrationService {
	PageResponseBean<List<OutRegistrationDto>> queryAll(String name,Long cur, Long number);
    ResponseBean<Integer> add(OutRegistration record);
    ResponseBean<Integer> update(OutRegistration record);
    ResponseBean<Integer> delete(Integer id);
    ResponseBean<Integer> approve(Integer id, Integer approveStatus, Integer operatorUserId);
    
    // 分页查询（按健康管家 + 客户名模糊 + 分页）
    PageResponseBean<List<OutRegistrationDto>> searchRegistration(
        Integer healthManagerId, String clientName, Long cur, Long number);

    // 撤销
    ResponseBean<Integer> revoke(Integer id);

    // 登记回院时间
    ResponseBean<Integer> registerReturn(Integer id, String actualReturnTime);

}
